package com.gxa.mapper;

import com.gxa.entity.DistrictSysInfoStatistics;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface InfoRegStatisticsMapper {
    /**
     * 查询今日确诊患者总数
     * @param currentDate
     * @return
     */
    int findTodyPatient(Date currentDate);

    /**
     * 查询今日密接人员总数
     * @param currentDate
     * @return
     */
    int findTodyContact(Date currentDate);

    /**
     * 查询今日次密接人员总数
     * @param currentDate
     * @return
     */
    int findTodaySecondary(Date currentDate);

    /**
     * 查询今日一般接触人员总数
     * @param currentDate
     * @return
     */
    int findTodayCommon(Date currentDate);

    /**
     * 添加今日信息登记统计表
     * @param districtSysInfoStatistics
     * @return
     */
    int addTodayInfo(DistrictSysInfoStatistics districtSysInfoStatistics);

    /**
     * 查询信息登记统计表
     * @return
     */
    List<DistrictSysInfoStatistics> findInfoList();

    /**
     * 根据日期查询信息登记统计表
     * @param currentDate
     * @return
     */
    List<DistrictSysInfoStatistics> findInfoListByDate(@Param("currentDate") Date currentDate);
}
